package mest.service.Modeling;

import mest.entity.apart_file;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description
 * @auther Machenike
 * @create 2019-11-15 21:18
 */
public interface IapartFileService {
    //    1.新增功能
    String insertapartFile(apart_file ct,String theirDb)   ;


    int selectCount(String theirDb);

    //   3.基本查询-分页
    List<apart_file> findApartFilePage(int index, int pageSize,String theirDb);


    //1.删除方法
    int delModel(Integer id,String theirDb);

    //   2.基本查询-分页-模糊查询-过滤删除订单
    List<apart_file> queryAll(Integer index,
                              Integer pageSize, String record,String theirDb);

    //3.查询总数
    int findCount(String record,String theirDb);
    //4.更新方法
    String updateByOne(apart_file record,String theirDb);
}
